﻿@model xiushen.Models.UploadFileModle
@{
    ViewBag.Title = "FileUpload";
}


<form method="POST" enctype="multipart/form-data">
  
<table>
    <tr>
        <td>
            目录
        </td>
        <td>
            @Html.DropDownListFor(r => r.AttachmentData.CategoryID, Model.Categorys)
        </td>
    </tr>
    <tr>
        <td>
            名称
        </td>
        <td>
            @Html.TextBoxFor(r => r.AttachmentData.DisplayName)
        </td>
    </tr>
    <tr>
        <td>
            文件描述
        </td>
        <td >
            @Html.TextAreaFor(r => r.AttachmentData.Description)
        </td>
    </tr>
    <tr>
        <td>
            文件
        </td>
        <td>
            <input type="file" id="Picture" name="Picture" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <input type="submit" value="提交"></input>
        </td>
    </tr>
</table>

</form>

@Html.ActionLink("返回目录" ,"Index")